<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>预定人名单</title>
  </head>
  <body>
    <table border="1" style="width: 600px;margin: 100px auto;text-align: center;">
      <tr>
        <th>姓名</th>
        <th>姓名</th>
        <th>电话</th>
        <th>平台</th>
        <th>时间</th>
      </tr>
      <%for(var i=0;i<userinfo.length;i++){%>
        <tr>
        <td><%=userinfo[i].name1%></td>
        <td><%=userinfo[i].name2%></td>
        <td><%=userinfo[i].num%></td>
        <%if(userinfo[i].name == null || userinfo[i].name == ''){%>
          <td>无</td>
        <%}else{%>
          <td><%=userinfo[i].name%></td>
        <%}%>
        <%if(userinfo[i].time == null || userinfo[i].time == ''){%>
          <td>无</td>
        <%}else{%>
          <td><%=userinfo[i].time%></td>
        <%}%>
        </tr>
      <%}%>
    </table>
  </body>
</html>
